\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread}{\section{Bluetooth\-Chat\-Service.\-Connect\-Thread Class Reference}
\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread}\index{Bluetooth\-Chat\-Service.\-Connect\-Thread@{Bluetooth\-Chat\-Service.\-Connect\-Thread}}
}


Collaboration diagram for Bluetooth\-Chat\-Service.\-Connect\-Thread\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=273pt]{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a44953b58b3e56284605861cd8dc6c1b6}{Connect\-Thread} (Bluetooth\-Device device)
\item 
void \hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a13a43e6d814de94978c515cb084873b1}{run} ()
\item 
void \hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a02d5fa6b14e221f3012a794b905be166}{cancel} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
final Bluetooth\-Socket \hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a671e27e36a6f6af999136e22c3f98006}{mm\-Socket}
\item 
final Bluetooth\-Device \hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_ad27e43ebcc6efac79c350009f29964fc}{mm\-Device}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This thread runs while attempting to make an outgoing connection with a device. It runs straight through; the connection either succeeds or fails. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a44953b58b3e56284605861cd8dc6c1b6}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}!Connect\-Thread@{Connect\-Thread}}
\index{Connect\-Thread@{Connect\-Thread}!com::example::android::BluetoothChat::BluetoothChatService::ConnectThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}}
\subsubsection[{Connect\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Connect\-Thread} (
\begin{DoxyParamCaption}
\item[{Bluetooth\-Device}]{device}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a44953b58b3e56284605861cd8dc6c1b6}


\subsection{Member Function Documentation}
\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a02d5fa6b14e221f3012a794b905be166}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}!cancel@{cancel}}
\index{cancel@{cancel}!com::example::android::BluetoothChat::BluetoothChatService::ConnectThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}}
\subsubsection[{cancel}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf cancel} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a02d5fa6b14e221f3012a794b905be166}


Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a02d5fa6b14e221f3012a794b905be166_icgraph}
\end{center}
\end{figure}


\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a13a43e6d814de94978c515cb084873b1}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}!run@{run}}
\index{run@{run}!com::example::android::BluetoothChat::BluetoothChatService::ConnectThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}}
\subsubsection[{run}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf run} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a13a43e6d814de94978c515cb084873b1}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a13a43e6d814de94978c515cb084873b1_cgraph}
\end{center}
\end{figure}




\subsection{Field Documentation}
\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_ad27e43ebcc6efac79c350009f29964fc}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}!mm\-Device@{mm\-Device}}
\index{mm\-Device@{mm\-Device}!com::example::android::BluetoothChat::BluetoothChatService::ConnectThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}}
\subsubsection[{mm\-Device}]{\setlength{\rightskip}{0pt plus 5cm}final Bluetooth\-Device {\bf mm\-Device}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_ad27e43ebcc6efac79c350009f29964fc}
\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a671e27e36a6f6af999136e22c3f98006}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}!mm\-Socket@{mm\-Socket}}
\index{mm\-Socket@{mm\-Socket}!com::example::android::BluetoothChat::BluetoothChatService::ConnectThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Connect\-Thread}}
\subsubsection[{mm\-Socket}]{\setlength{\rightskip}{0pt plus 5cm}final Bluetooth\-Socket {\bf mm\-Socket}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_connect_thread_a671e27e36a6f6af999136e22c3f98006}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Code/\-L\-A\-S\-A\-R/\-Android/\-L\-A\-S\-A\-R Control/src/com/example/android/\-Bluetooth\-Chat/\hyperlink{_bluetooth_chat_service_8java}{Bluetooth\-Chat\-Service.\-java}\end{DoxyCompactItemize}
